package com.kkks.spring_rest.tick.component;

import org.apache.commons.collections.map.ListOrderedMap;

public interface UserComponent {

	/**
	 * 验证用户Id 以及 用户编码
	 * 
	 * @param userId
	 * @param userToken
	 * @return boolean
	 * @throws UnsupportedEncodingException
	 */
	public boolean validUserToken(String userId, String userToken);

	/**
	 * 用户注册
	 * 
	 * @param userName
	 * @param password
	 * @param confirm
	 * @param phoneType
	 * @return ListOrderedMap
	 */
	public ListOrderedMap userRegister(String userName, String password,
			String confirm, String phoneType);

}
